<template>
  <q-scroll-area class="fit">
    <div style="text-align: center">
      <q-btn color="primary" icon="check" label="确认" @click="onClick" />
    </div>
  </q-scroll-area>
</template>

<script setup lang="ts">
const emit = defineEmits<{
  (e: 'close-drawer'): void;
}>();
const onClick = function () {
  emit('close-drawer');
};
</script>

<style scoped></style>
